import React from 'react'


class Qwer extends React.Component {
  render() {
    const { count, addCount } = this.props
    return (
      <div>
        <h1>qwer 组件</h1>
        <h2>count: { count }</h2>
        <button onClick={() => addCount()}>+1</button>
      </div>
    )
  }
}

export default Qwer